{include file="common/header.tpl"}    
    <div id="vfriendContainer">
        <div id="mainContent3C">
            <div class="vfriendContainer3C">
                <div class="vfriendContent3C">
                	<div class="leftCol">  
                    	{include file="place/box-navigation.tpl"}               	
                    </div>
                    <div class="rightCol">
                        <div class="midCol">
                        	<div class="boxPlace">
                            	<div class="headerTitle">
                                	<h3>{$subcate.name}</h3>
                                    <div class="filter">
                                    	<form method="get" name="frmFilter" id="frmFilter" action="">
											<input type="hidden" name="cat" id="cat" value="{$smarty.get.cat}" />
                                            <input type="hidden" name="sub" id="sub" value="{$smarty.get.sub}" />
                                            <div class="userInput">
                                                <label>Khu vực</label>
                                                <div>
                                                    <select class="select" name="province" onchange="this.form.submit();">
                                                        <option value="0">Tất cả</option>
                                                        {html_options options=$arrProvince selected=$intProvince}
                                                    </select>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                               	</div>
                                <div class="placeItem">
                                	<ul>
										{if $intTotal}
										{foreach key=i item=place from=$places}
                                    	<li {if $i==0}class="firstChild"{/if}>                                       	
                                            {image path=$place.image type=7 small=1 class="border130 rFloat" alt=$place.name|escape id=$place.placeid title=$place.name|escape}
                                        	<div class="info">
                                                <h3><a href="{link_place placeid=$place.placeid title=$place.name}">{$place.name}</a></h3>
                                                {star point=$place.tpoint person=$place.tperson}
                                                <div class="addr">{$place.addr}, {$place.district_name}, {$place.province_name}</div>
                                                <div class="stat">
                                                	<span class="plLike"><strong>{$place.tlike|number_format}</strong> thích</span>
                                                    <span class="plCmt"><strong>{$place.tcmt|number_format}</strong> nhận xét</span>
                                                    <span class="plStar"><strong>{$place.tperson}</strong> đánh giá</span>
                                                </div>
                                           	</div>
                                       	</li>
                                       	{/foreach}
                                       	{/if}                                       	
                                    </ul>
                                </div>
                                {if $intTotal > $intLimit}
                                    {paging total=$intTotal limit=$intLimit offset=$intOffset url=$strUrl}
                                {/if}
                            </div>
                    	</div>                        
                   	</div>
               	</div>
            </div>
        </div>
    </div>
{include file="common/footer.tpl"}
